﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MaiStatistic.aspx.cs" Inherits="MaiStatistic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body background ="../../images/物资右侧背景.jpg"  style="font-size:9pt">
    <form id="form1" runat="server">
    <div>
</div>
<table style="width: 560px; height: 64px; vertical-align: top; text-align: left; font-size: 9pt;" border="0" cellpadding="0" cellspacing="0" align="center">
    
    <tr>
        <td rowspan="1" style="vertical-align: top; width: 249px">
                                <asp:RadioButton ID="radButtonStore" runat="server" Text="按存放仓库统计在库固定资产维修情况" Checked="True" GroupName="1" Width="239px"  /></td>
        <td rowspan="1" style="vertical-align: top; width: 171px">
        </td>
        <td rowspan="1" style="vertical-align: top; width: 180px">
            存放仓库</td>
        <td rowspan="1" style="vertical-align: top; width: 265px">
                                <asp:DropDownList ID="ddlStore" runat="server" AppendDataBoundItems="True">
                        </asp:DropDownList></td>
    </tr>
    <tr>
        <td rowspan="1" style="vertical-align: top; width: 249px; height: 4px">
                                <asp:RadioButton ID="radButtonDepartment" runat="server" Text="按使用部门统计在用固定资产维修情况" GroupName="1" Width="238px"  /></td>
        <td rowspan="1" style="vertical-align: top; width: 171px; height: 4px">
        </td>
        <td rowspan="1" style="vertical-align: top; width: 180px; height: 4px">
            使用部门</td>
        <td rowspan="1" style="vertical-align: top; width: 265px; height: 4px">
                    <asp:DropDownList ID="ddlDepartment" runat="server" AppendDataBoundItems="True">
                        </asp:DropDownList>
        </td>
    </tr>
            <tr>
                <td rowspan="2" style="vertical-align: top; width: 249px">
                                <asp:RadioButton ID="radButtonAll" runat="server" Text="统计全部固定资产维修情况" GroupName="1" Width="185px"  /></td>
                <td rowspan="2" style="vertical-align: top; width: 171px">
                </td>
                <td rowspan="2" style="vertical-align: top; width: 180px">
                </td>
                <td rowspan="2" style="vertical-align: top; width: 265px;" align="right">
                    <asp:Button ID="btnOK" runat="server" Text="查询" OnClick="btnOK_Click" /></td>
            </tr>
            <tr>
            </tr>
        </table>
        &nbsp; &nbsp;
        <table align="center" style="width: 554px; height: 125px">
            <tr>
                <td align="center" style="width: 100px; height: 140px">
                    <asp:GridView ID="gvStatistic" runat="server" BorderColor="Black" BorderWidth="1px" CellSpacing="1" AutoGenerateColumns="False" Width="754px">
                        <Columns>
                            <asp:BoundField DataField="ServiceID" HeaderText="维修编号" />
                            <asp:BoundField DataField="ServiceDate" HeaderText="送修日期" />
                            <asp:BoundField DataField="SendMan" HeaderText="送修人" />
                            <asp:BoundField DataField="GdzcID" HeaderText="固定资产编号" />
                            <asp:BoundField DataField="Name" HeaderText="固定资产名称" />
                            <asp:BoundField DataField="Department" HeaderText="使用部门" />
                            <asp:BoundField DataField="Fault" HeaderText="故障现象" />
                            <asp:BoundField DataField="Sign" HeaderText="批准维修人" />
                            <asp:BoundField DataField="Service" HeaderText="维修单位" />
                            <asp:BoundField DataField="Charge" HeaderText="维修费用" />
                            <asp:BoundField DataField="Cause" HeaderText="故障原因" />
                            <asp:BoundField DataField="State" HeaderText="维修状况" />
                            <asp:BoundField DataField="WzID1" HeaderText="物资编号" />
                            <asp:BoundField DataField="BuyDate" HeaderText="采购日期" />
                            <asp:BoundField DataField="BuyDepartment" HeaderText="采购部门" />
                            <asp:BoundField DataField="BuyMan" HeaderText="采购人" />
                            <asp:BoundField DataField="StorePlace" HeaderText="仓库名称" />
                            <asp:BoundField DataField="userName" HeaderText="使用人" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
